class RedBlackTreeSet implements WordSet{
    private RedBlackTree base;
        
        public RedBlackTreeSet()   
        {
                base = new RedBlackTree();
        }
         
        public Word get(Word word)
        {
                Word temp = (Word)base.find(word);
                
                return temp;
        }
        
        public void add(Word wordObject)
        {
                base.insert(wordObject);
        }
    
}